package cn.iocoder.yudao.module.written.exam.controller.admin.userwrittenexamrecords.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 笔试记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserWrittenExamRecordsRespVO {

    @Schema(description = "自增ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21591")
    @ExcelProperty("自增ID")
    private Long id;

    @Schema(description = "开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("开始时间")
    private LocalDateTime createTime;

    @Schema(description = "结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("结束时间")
    private LocalDateTime endTime;

    @Schema(description = "会话id", example = "b861ad6a-b7c7-4cd2-8a91-3a32e7c6cd50")
    @ExcelProperty("会话id")
    private String conversationId;

    @Schema(description = "用户ID", example = "10188")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "解题数目", requiredMode = Schema.RequiredMode.REQUIRED, example = "4078")
    @ExcelProperty("解题数目")
    private Integer questionCount;

    @Schema(description = "消耗积分", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("消耗积分")
    private Integer consumedPoints;

}